﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.Authority
{
    [Table("Roles")]
    public class Roles: AuditFiled<int>//角色表
    {
        /// <summary>
        /// 父级角色ID
        /// </summary>
        public int? Parent_id { get; set; }
        /// <summary>
        /// 账户
        /// </summary>
        public string? Account { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string? RoleName { get; set; }
        /// <summary>
        /// 角色描述
        /// </summary>
        public string? Description { get; set; }
    }
}
